package com.ropeok.mapper;

import com.ropeok.entity.Role;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface RoleMapper {

    List<Role> FindAll();

    void Save(Role per);


    List<Integer> FindRoleId();
    void DelRole(int id);

    List<Role> findByUserid(Integer id);

}
